package cn.yunhe.services.impl;

import cn.yunhe.dao.IScoreDao;
import cn.yunhe.services.IScoreServices;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * Created by 47496 on 2018/6/2.
 */
@Service
public class ScoreServices implements IScoreServices {

    @Resource
    private IScoreDao scoreDao;

    @Override
    public int addStuScore(Map<String, Object> map) {
        return scoreDao.addStuScore(map);
    }

    public IScoreDao getScoreDao() {
        return scoreDao;
    }

    public void setScoreDao(IScoreDao scoreDao) {
        this.scoreDao = scoreDao;
    }
}
